package com.kuzlak.cms.module.sys.bean;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Schema(description = "系统设置")
@Data
public class SettingsVO {

    @Schema(description = "编号")
    private long id;

    @Schema(description = "名称")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "关键字")
    @NotEmpty(message = "关键字不能为空")
    private String isKey;

    @Schema(description = "键值")
    @NotEmpty(message = "键值不能为空")
    private String isValue;

    @Schema(description = "备注")
    @NotEmpty(message = "备注不能为空")
    private String remark;

    @Schema(description = "状态")
    private int status;
}
